from django.conf import settings
from django.core.files.storage import Storage

class MyStorage(Storage):
    def __init__(self):
        self.base_url = settings.BASE_URL

    def _open(self, name, mode='rb'):
        pass

    def _save(self, name, content):
        pass

    def url(self, name):
        return self.base_url + name